package com.glsc.ngateway.common.base.repo.mysql.gateway.platform;

import com.glsc.ngateway.common.base.domain.mysql.gateway.platform.MysqlTMenu;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

public interface MysqlTMenuRepository extends JpaRepository<MysqlTMenu, String>, JpaSpecificationExecutor<MysqlTMenu> {

    @Query(value = "select max(menu_id) from t_menu", nativeQuery = true)
    public String findMaxMenuId();

}
